home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
ab20
/
ab20_archive
/
archivers
/
tar-compress.lzh
/
tarsplit.doc
< prev
Wrap
Text File
|
1992-01-18
|
2KB
|
51 lines
Article 1404 of comp.sys.amiga:
Path: mcdsun!noao!hao!hplabs!decwrl!decvax!ucbvax!jade!violet.berkeley.edu!mwm
From: mwm@violet.berkeley.edu (Mike Meyer)
Newsgroups: comp.sys.amiga
Subject: Tarsplit.c & tar
Message-ID: <2177@jade.BERKELEY.EDU>
Date: 13 Jan 87 03:48:57 GMT
Sender: usenet@jade.BERKELEY.EDU
Reply-To: mwm@violet.berkeley.edu(Mike Meyer)
Organization: University of California, Berkeley
Lines: 243
Ok, here's the source to tarsplit.c. It's a straight port of the OS/9
program that does the same thing. Major gotcha: tarsplit doesn't do
name translation, so '.' and '..' don't work. For instance, you can't
do "tar cf - ." on the Unix end and then take it apart on the Amiga,
as "." isn't a recognized file name.
Recomended useage: cd to the parent of the directory you want to
download, and do:
tar cbf 1 download.tar download_dir
This will tar download_dir into download.tar. Setting the blocksize to
1 causes minimal wasted space in the image. I haven't tried
compressing the result; gotta do that soon. After downloading it, cd
to the place you want the directory to appear in, and do "tarsplit
download.tar" (or whever you put it). For small files (*NOT* the mg
sources!), putting things in ram: works fine.
For those who don't want to compile it, or don't trust your compiler,
I put the binary in the pub/amiga directory on ucbvax. Matt should
feel free to delete it, though. I didn't uuencode it, and I didn't
touch Matt's index.
Note: This has not been tested under either Lattice 3.10, or any
version of MANX. It's also the second posting, having been posted
nearly a year ago; right after I did it.
Finally, I've heard rumors of a PD tar. If I can find a copy, I'll
probably try and post it, but not do the port.
<mike
P.S. - since he doesn't mention it in the file, I'll do it here. The
original OS/9 version of this was written by James Jones (the hacker
from Mars :-). James can currently be found as jejones@mcrware.UUCP.
-------------------- cut here, only one file --------------------